home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / amos / AMOS0398.lzh / AMOSLIST / 000205_amos-request@svcs1.digex.net_Sat Mar 21 11:53:14 1998.msg < prev    next >
Text File  |  1998-04-01  |  3KB  |  75 lines

  1. >From amos-request@svcs1.digex.net  Sat Mar 21 11:53:14 1998
  2. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  3.     by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id LAA13628
  4.     for <mcox@access.digex.net>; Sat, 21 Mar 1998 11:53:13 GMT
  5. Received: (from daemon@localhost)
  6.     by svcs1.digex.net (8.8.5/8.8.5) id FAA06448
  7.     for amos-out; Sat, 21 Mar 1998 05:33:08 -0500 (EST)
  8. Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
  9.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id FAA06445
  10.     for <amos-list@svcs1.digex.net>; Sat, 21 Mar 1998 05:33:08 -0500 (EST)
  11. Received: from login-2.eunet.no (login-2.eunet.no [193.71.71.239])
  12.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id FAA21253
  13.     for <amos-list@access.digex.net>; Sat, 21 Mar 1998 05:33:04 -0500 (EST)
  14. Received: from login.eunet.no (login.eunet.no [193.71.1.4])
  15.     by login-2.eunet.no (8.8.8/8.8.8) with ESMTP id LAA09751
  16.     for <amos-list@access.digex.net>; Sat, 21 Mar 1998 11:33:00 +0100 (CET)
  17.     (envelope-from mortenbo@login.eunet.no)
  18. Received: from login.eunet.no (Mortenbo@pc24.pm2-2.eunet.no [193.71.29.24]) by login.eunet.no (8.8.6/8.8.3/Torbjorn) with SMTP id LAA19543 for <amos-list@access.digex.net>; Sat, 21 Mar 1998 11:32:58 +0100 (MET)
  19. From: Morten Bolstad <mortenbo@login.eunet.no>
  20. To: AmosList <amos-list@access.digex.net>
  21. Date: Tue, 16 May 1978 19:04:38 +0500
  22. Message-ID: <yam135.1930.2014451080@login.eunet.no>
  23. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  24. Subject: Procedures & Gosub's
  25. MIME-Version: 1.0
  26. Content-Type: text/plain
  27. Status: O
  28. X-Status: 
  29.  
  30.  
  31. Hello!
  32.  
  33. I have a little coding problem that i think most of you are able to help me 
  34. out with quite easy.
  35.  
  36. a
  37. Procedure a
  38. b
  39. endproc
  40. procedure b
  41. a
  42. endproc
  43.  
  44. This will cause a out or stack error becos it writes the same data one time
  45. for each loop until you are out of stack space, Right?? 
  46. But how do you make this work???
  47.  
  48. And will it be bether to do it like this??
  49.  
  50. Movment:
  51. (some code)
  52. return
  53.  
  54. procedure a
  55. do
  56. (some code)
  57. gosub movment 
  58. loop
  59. endproc 
  60.  
  61. With this i dont get it to jump out of the proceure and go to Movment: and 
  62. return back into the procedure.
  63. I tryed  Global movment  but that dident help at all :(
  64.  
  65. The reason i want it to be like one of these exampels is that i'am gonna have
  66. 6 procedures and then it takes up to much space and memory to have the code 
  67. in movment 6 times, when i dont need to have it more than one time.
  68.  
  69. Oki, please help me with this prob!!!
  70.  
  71.  
  72. Morten Bolstad.
  73.  
  74.  
  75.